package com.bit.demo2;
import com.bit.demo1.Test;

public class Test2 extends Test {
    public void func(){
        System.out.println(super.val);
        super.eat();
    }
    public static void main(String[] args) {
        Test2 test2 = new Test2();
        test2.func();
    }
}

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 74646
 * Date: 2022-02-08
 * Time: 16:40
 */

